<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>注册</title>
</head>
<body>

	<h2>注册</h2>

	${regErrorMsg}
	<form action="${pageContext.request.contextPath}/reg.do" method="post">
		<p>
			<input type="text" name="username" placeholder="用户名">
			${usernameErrorMsg}
		</p>
		<p>
			<input type="password" name="password" placeholder="密码">
			${passwordErrorMsg}
		</p>
		<p>
			<button type="submit">注册</button>
	</form>

</body>
</html>